﻿using System;
using System.ComponentModel.Composition;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SilverAmp.Shared;

namespace SilverAmp.TwitterExtension
{
    [SilverAmpExportExtension(Type=ExtensionType.Regular)]
    public class TwitterExtension:ISilverAmpExtension 
    {
        [Import] 
        public TwitterExtensionViewModel ViewModel{ get; set;}

        public string Name
        {
            get { return "Twitter"; }
        }

        public string DisplayIcon
        {
            get {
                return  "http://twitter-badges.s3.amazonaws.com/t_logo-a.png"; 
            }


        }

        public UserControl ExtensionUi
        {
            get {
                return ViewModel.View; 
            }
        }

        public void Initialize()
        {

        }

        public bool IsVisibleInMenu
        { get { return true; } }
    }
}
